package com.damieoa.damieoa.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.damieoa.damieoa.pojo.Staff;
import com.damieoa.damieoa.pojo.Station;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface StationMapper extends BaseMapper<Station> {

    //删除岗位
    void deleteStation(Station station);

    //根据岗位id获取岗位信息
    Station getStationById(Station station);

    //修改岗位信息
    void updateStation(Station station);

    //查询岗位员工
    List<Staff> queryStationStaff(Station station);

    //查询删除岗位员工
    void deleteStationStaff(Staff staff);

}
